<!DOCTYPE html>
<html>
	<head>
		<meta charset="{dede:global.cfg_soft_lang/}">
		<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
		<title>{dede:field.title/}-{dede:global.cfg_webname/}</title>
		<meta name="keywords" content="{dede:field.keywords/}">
		<meta name="description" content="{dede:field.description function='html2text(@me)'/}">
		<script>const PHPURL = '{dede:field name="phpurl"/}';</script>
		<script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script>
		<link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/css/bootstrap.min.css">
		<link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/font/css/font-awesome.min.css">
		<link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/css/style.css">
		<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
	</head>
	<body>
		{dede:include filename='top.htm'/}
		{dede:include filename='header.htm'/}
		{dede:include filename='navbar.htm'/}
		<div class="container">
			<div class="position">
				<nav aria-label="breadcrumb">
					<ol class="breadcrumb mt-3">
						<li class="breadcrumb-item">当前位置</li>
						{dede:field name='position'/}
					</ol>
				</nav>
			</div>
		</div>
		<main class="container">
			<div class="row">
				<div class="col-md-8 article-main">
					<h2 class="mt-0 mb-3 zixue">{dede:field.title/}</h2>
					<div class="body py-2">
						<div class="float-lg-right text-lg-right mr-5" id="body-pic">{dede:field name='image'/}</div>
						<p><small>所属区域：</small><span>{dede:field.nativeplace/}</span></p>
						<p><small>信息类型：</small><span>{dede:field.infotype/}</span></p>
						<p><small>点击数：</small><span id="_count">...</span></p>
						<p><small>发布时间：</small><span>{dede:field.pubdate function="MyDate('y-m-d H:i',@me)"/} </span></p>
						<p><small>截止日期：</small><span>{dede:field.endtime function="MyDate('Y-m-d H:m',@me)" /} </span></p>
						<p><small>联系人：</small><span>{dede:field.linkman /}</span></p>
						<p><small>联系电话：</small><span>{dede:field.tel /}</span></p>
						<p><small>电子邮箱：</small><span>{dede:field.email/}</span></p>
						<p><small>地址：</small><span>{dede:field.address /}</span></p>
						<p>信息描述</p>
						<div>{dede:field.body/}</div>
					</div>
					<div class="clearfix"></div>
					{dede:include comment='文档顶踩模块' filename="widget_article_digg.htm"/}
					<div class="row">
						<div class="col-md-4 prenext pt-2">
							<div class="pagination-previous">{dede:prenext get='pre'/}</div>
							<div class="pagination-next mt-2">{dede:prenext get='next'/}</div>
						</div>
						<div class="col-md-8">
							<div class="row actbox">
								<ul>
									<li>
										<i class="fa fa-star-o"></i>
										<a href="{dede:field name='phpurl'/}/stow.php?aid={dede:field.id/}" target="_blank">收藏</a>
									</li>
									<li>
										<i class="fa fa-bug"></i>
										<a href="javascript:ErrorAddSave({dede:field.id/}, '{dede:field.title/}');">挑错</a>
									</li>
									<li>
										<i class="fa fa-thumbs-o-up"></i>
										<a href="{dede:field name='phpurl'/}/recommend.php?aid={dede:field.id/}" target="_blank">推荐</a>
										</li>
									<li>
										<i class="fa fa-print"></i>
										<a href="javascript:;" onClick="window.print();">打印</a>
									</li>
								</ul>
							</div>
						</div>
					</div>
					{dede:include comment='文档评论模块' file='widget_article_feedback.htm' /}
				</div>
				<aside class="col-md-4 article-sidebar">
					{dede:include comment='推荐内容' filename="widget_recommend_sg.htm"/}
					{dede:include comment='热点内容' filename="widget_hot_sg.htm"/}
					{dede:include comment='QR二维码' filename="widget_qrcode.htm"/}
				</aside>
			</div>
		</main>
		{dede:include filename="footer.htm"/}
		<script>
			//页面加载触发
			$(document).ready(function() {
				//获取文档点击数统计
				$.get("{dede:field name='phpurl'/}/count.php?format=json&view=yes&aid={dede:field.id/}&mid=1&cid={dede:field.channel/}",
					function(data) {
						let result = JSON.parse(data);
						$("#_count").html(result.data.click);
					})
			});
		</script>
	</body>
</html>